﻿using Aurora.Module.Contexts;
using System.Diagnostics.CodeAnalysis;

namespace Aurora.Module
{
    /// <summary>
    /// On Application Shutdown
    /// </summary>
    public interface IOnApplicationShutdown
    {
        Task OnApplicationShutdownAsync([NotNull] ApplicationShutdownContext context);

        void OnApplicationShutdown([NotNull] ApplicationShutdownContext context);
    }
}
